package com.van.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.van.bean.HelloBean;

@Service
public class GreetingService {
	
	@Autowired
	private HelloBean helloBean;
	 
	public void setHelloBean(HelloBean helloBean){
		this.helloBean = helloBean;
	}
	
	public String greeting(){
		return helloBean.greeting();
	}
}
